<?php
/**
 * Created by Alan.
 * User: Alan
 * Date: 2018\9\14 0014
 * Time: 5:05
 */

namespace app\api\model;


class ThirdApp extends BaseModel
{
    public  static  function check($ac, $se)
    {
        $app = self::where('app_id','=',$ac)
            ->where('app_secret','=',$se)
            ->find();
        return $app;
    }
}